<div id="app">
	<el-menu :default-active="$route.path" @open="handleOpen" @close="handleClose" @select="handleSelect_2" router>
		<el-menu-item index="1">
			<i class="el-icon-menu"></i>
			<span slot="title">搜索简历</span>
		</el-menu-item>
		<el-menu-item index="2">
			<i class="el-icon-menu"></i>
			<span slot="title"> 人才库</span>
		</el-menu-item>
		<el-menu-item index="3">
			<i class="el-icon-document"></i>
			<span slot="title">代理招聘</span>
		</el-menu-item>
		<el-menu-item index="/shareResume">
			<i class="el-icon-setting"></i>
			<span slot="title">分享简历</span>
		</el-menu-item>
		<el-menu-item index="5">
			<i class="el-icon-setting"></i>
			<span slot="title">企业账户</span>
		</el-menu-item>
	</el-menu>
</div>

<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<script src="https://unpkg.com/vue/dist/vue.js"></script>
<script src="https://unpkg.com/element-ui/lib/index.js"></script>

<script>
	// 实例化Vue对象
	var vm = new Vue({
		el: "#app",
		data() {
			return {
				
			}
		},
		methods: {
			handleSelect2(key, keyPath) {
				console.log(key, keyPath);
			}
		}
	})
</script>
